// Copyright (c) Symbian Ltd 2008. All rights reserved.
#ifndef RPSPLAYTIMER_
#define RPSPLAYTIMER_

#include <e32base.h>

class CPlayScreen;

class CPlayTimer : public CTimer
	{
public:
	static CPlayTimer* NewL(TTimeIntervalMicroSeconds32 aInterval, CPlayScreen& aPlayScreen);
	~CPlayTimer();
	void Start();
protected: // From CActive
	virtual void RunL();
private:
	CPlayTimer(TTimeIntervalMicroSeconds32 aInterval, CPlayScreen& aPlayScreen);
private:	
	TTimeIntervalMicroSeconds32 iInterval;
	CPlayScreen& iPlayScreen;
	};


#endif /*RPSPLAYTIMER_*/
